﻿using System.Xml.Serialization;
using Eagles.Base.Configuration;

namespace Eagles.DomainService.Model.Config
{
    [XmlRoot("Eagles")]
    [XmlPath("/Configuration/Eagles.config")]
    public class EaglesConfiguration
    {
        /// <summary>
        /// 登陆失败次数
        /// </summary>
        public int LoginErrorCount { get; set; }

        /// <summary>
        /// 失败多少次后 需要验证码 验证
        /// </summary>
        public int CheckVerificationCode { get; set; }

        /// <summary>
        /// 锁定时间
        /// </summary>
        public double LockingTime { get; set; }

        /// <summary>
        /// 图片存放目录
        /// </summary>
        public string FilePath { get; set; }

        /// <summary>
        /// 图片网络url
        /// </summary>
        public string ImageBaseUrl { get; set; }

        /// <summary>
        /// 导出文件路径
        /// </summary>
        public string ExportPath { get; set; }

        /// <summary>
        /// 用户通知内容
        /// </summary>
        public string UserNoticContent { get; set; }

        /// <summary>
        /// token有效时间
        /// </summary>
        public double TokenValidTime { get; set; }


        /// <summary>
        /// 活动通知跳转链接
        /// </summary>
        public string ActivityNoticeUrl { get; set; }


        /// <summary>
        /// 任务通知跳转链接
        /// </summary>
        public string TaskNoticeUrl { get; set; }


        /// <summary>
        /// 文章公开跳转链接
        /// </summary>
        public string PublicArticleUrl { get; set; }


        /// <summary>
        /// 入党多久通知（年）
        /// </summary>
        public int JoinNotice { get; set; }


        /// <summary>
        /// 党费多久快到期通知（天）
        /// </summary>
        public int PayNotice { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string SysJoinNotice { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string SysPayNotice { get; set; }

        /// <summary>
        /// 系统信息跳转url
        /// </summary>
        public string SysNoticeUrl { get; set; }

    }
}
